import { createApp } from 'vue'
import { createRouter } from '@/router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
/* swiper */
// import 'swiper/swiper.min.css'

/* 重置样式 */
import './assets/css/reset.min.css'

// 富文本
import VueQuillEditor from 'vue-quill-editor'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'


// import 'jquery'

import './assets/css/bootstrap.min.css'
import './assets/js/bootstrap.min.js'

/* animate.css */
import 'wow.js/css/libs/animate.css'

import App from './App.vue'
// main.js 或 app.js
import axios from './utils/axios.js';

// import promptPassword from './utils/passwordPrompt.js';
// import './utils/passwordPrompt.js';

// 调用 promptPassword 函数
// promptPassword();
const router = createRouter()
const app = createApp(App)


app.use(VueQuillEditor,);

app.use(ElementPlus)
app.config.globalProperties.$axios = axios; // 让所有组件都能使用 axios

app.use(router).mount('#app')

